package face.pay.message.entity.msg;

public abstract  class BaseMessage {

             private String ToUserName;

             private String FromUserName;
            // 消息创建时间 （整型）

             private long CreateTime;

             // 获取消息类型
             public abstract String getMsgType();

             public String getToUserName() {
                 return ToUserName;
             }

             public void setToUserName(String toUserName) {
                 ToUserName = toUserName;
             }

             public String getFromUserName() {
                 return FromUserName;
             }

             public void setFromUserName(String fromUserName) {
                 FromUserName = fromUserName;
             }

             public long getCreateTime() {
                 return CreateTime;
             }

             public void setCreateTime(long createTime) {
                 CreateTime = createTime;
             }
}
